#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QToolButton>


#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv2/opencv.hpp"

using namespace cv;

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
   QList<QToolButton *> btnsMain;
//   void btnIndex(QString &name);

   void salt(cv::Mat &image, int n);

private slots:
    void buttonClick();


    void on_pushButton_sltImg_clicked();

    void on_pushButton_filpImg_clicked();

    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::MainWindow *ui;
    Mat image1;
    Mat image;
};
#endif // MAINWINDOW_H
